namespace Ellwood.Manage.Common.Core.Basis.ValidateRules;

/// <summary>
/// 实体验证基类
/// </summary>
public abstract class BaseAbstractAttribute: Attribute
{
    protected string? Message { get; set; }

    public BaseAbstractAttribute(string? message)
    {
        this.Message = message;
    }

    public abstract (bool, string?) DoValidate(object oValue);
}